<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
<head>
<title>添加商家</title>
	<c:import url="hcommon.jsp"></c:import>
	<c:import url="header.jsp"></c:import>
	<c:import url="left.jsp"></c:import>
</head>
<body>
	<div style="text-align: center; width: 500px; margin: 0 auto ;margin-top:68px">
		<form action="addGoods.action" method="post" enctype="multipart/form-data">
			<div class="form-group">
				<label for="gname">商品名称</label> <input type="text"
					class="form-control" id="gname" name="gname" placeholder="请输入商品名称"
					require="require">
			</div>
			<div class="form-group">
				<label for="gphoto">商品图片</label> <input type="file" class="form-control"
														id="gphoto" name="file">
			</div>
			<div class="form-group">
				<label for="gprice">商品价格</label> <input type="text" class="form-control"
					id="gprice" name="gprice" placeholder="请输入商品价格" require="require" >
			</div>
			<div class="form-group">
				<label for="ggrade">商品评分</label> <input type="text" class="form-control"
													  id="ggrade" name="ggrade" placeholder="请输商品评分" require="require">
			</div>

			<div class="form-group">
				<label for="tid">商品种类:</label>
				<select class="select" name="tid" size="1" id="tid" require="require">
					<option value="1">水果</option>
					<option value="2">生鲜</option>
					<option value="3">百货</option>
				</select>
			</div>
				<div class="form-group">
					<label for="sid">门店名称:</label>
					<select class="select" name="sid" size="1" id="sid" require="require">
						<option value="1">高新</option>
						<option value="2">雁塔</option>
						<option value="3">未央</option>
					</select>
			</div>
			<input type="submit" value="提交" class="btn">
		</form>
	</div>
</body>
</body>
</html>
